﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="wucTransferenciaOFAC.ascx.cs" Inherits="pryTransfinter.Alertas.wucTransferenciaOFAC" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>

<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>
    <%@ Register assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
    <%@ Register assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<style type="text/css">
    .style1
    {
        font-size: 100%;
        vertical-align: top;
        border-style: none;
        border-color: inherit;
        border-width: 0px;
        margin-left: 0px;
        margin-right: 0px;
        padding: 0px;
        background:;
    }
</style>

<table width="100%">
    <tr>
        <td style="padding:20px;">
            <h3>TRANSFERENCIAS OFAC</h3>
        </td>
    </tr>
    <tr>
        <td>
            <dx:ASPxGridView ID="grdTransferenciaOFAC" runat="server" Width="90%" 
                AutoGenerateColumns="False" KeyFieldName="nroOperacion"
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" EnableCallBacks="False" 
                onafterperformcallback="grdTransferenciaOFAC_AfterPerformCallback" 
                onfocusedrowchanged="grdTransferenciaOFAC_FocusedRowChanged">
                <Columns>
                    <dx:GridViewDataTextColumn Caption="Operaci&oacute;n" 
                        VisibleIndex="0" FieldName="nroOperacion">
                        <HeaderStyle HorizontalAlign="Center" />
                        <CellStyle HorizontalAlign="Center">
                        </CellStyle>
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Moneda" 
                        VisibleIndex="1" FieldName="moneda">
                        <HeaderStyle HorizontalAlign="Center" />
                        <CellStyle HorizontalAlign="Center">
                        </CellStyle>
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Monto" 
                        VisibleIndex="2" FieldName="monto">
                        <HeaderStyle HorizontalAlign="Center" />
                        <CellStyle HorizontalAlign="Center">
                        </CellStyle>
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Texto Observado" VisibleIndex="3" 
                        FieldName="descripcionOFAC">
                        <HeaderStyle HorizontalAlign="Center" />
                        <CellStyle HorizontalAlign="Center">
                        </CellStyle>
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn FieldName="codigoOFAC" Visible="False" 
                        VisibleIndex="6">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn FieldName="idcCliente" Visible="False" 
                        VisibleIndex="5">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn FieldName="codigoCorresponsal" VisibleIndex="4" 
                        Visible="False">
                    </dx:GridViewDataTextColumn>
                </Columns>
                <SettingsBehavior AllowFocusedRow="True" 
                    ProcessFocusedRowChangedOnServer="True" />
                <SettingsPager Visible="False" PageSize="100000">
                </SettingsPager>
                <Settings ShowVerticalScrollBar="True" />
                <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                    <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                    </LoadingPanelOnStatusBar>
                    <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                    </LoadingPanel>
                </Images>
                <ImagesFilterControl>
                    <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                    </LoadingPanel>
                </ImagesFilterControl>
                <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue">
                    <Header ImageSpacing="5px" SortingImageSpacing="5px">
                    </Header>
                    <LoadingPanel ImageSpacing="5px">
                    </LoadingPanel>
                </Styles>
                <StylesPager>
                    <PageNumber ForeColor="#3E4846">
                    </PageNumber>
                    <Summary ForeColor="#1E395B">
                    </Summary>
                </StylesPager>
                <StylesEditors ButtonEditCellSpacing="0">
                </StylesEditors>
            </dx:ASPxGridView>
                                                            
        </td>
    </tr>
    <tr>
        <td>
            <fieldset style="width:95%;padding-bottom:10px;">
                <legend>Detalle de Trasferencias OFAC</legend>

                <table width="90%" class="myTable" >
                    <tr>
                        <th>
                            Nro Operaci&oacute;n:
                        </th>
                        <th>
                            <dx:ASPxTextBox ID="txtOperacion" runat="server" Width="170px" 
                                ClientEnabled="False" />
                        </th>
                    </tr>
                    <tr>
                        <th colspan="2">
                            <fieldset>
                                <legend>Ordenante</legend>

                                <table width="90%" >
                                    <tr>
                                        <td align="left" width="150px">
                                            Cuenta:
                                        </td>
                                        <td align="left">
                                            <dx:ASPxTextBox ID="txtCuentaOrdenante" runat="server" Width="170px" 
                                                ClientEnabled="False" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left">
                                            Cliente:
                                        </td>
                                        <td align="left">
                                            <dx:ASPxTextBox ID="txtCliente" runat="server" Width="90%" 
                                                ClientEnabled="False" />
                                        </td>
                                    </tr>
                                </table>
                            </fieldset>
                        </th>
                    </tr>
                    <tr>
                        <th>
                            Moneda:
                        </th>
                        <th>
                            <dx:ASPxComboBox ID="cboMoneda" runat="server" ClientEnabled="False" />
                        </th>
                    </tr>
                    <tr>
                        <th>
                            Monto:
                        </th>
                        <th>
                            <dx:ASPxTextBox ID="txtMonto" runat="server" Width="170px" 
                                ClientEnabled="False" />
                        </th>
                    </tr>
                    <tr>
                        <th>
                            Banco Destino:
                        </th>
                        <th>
                            <dx:ASPxTextBox ID="txtBanco" runat="server" Width="170px" 
                                ClientEnabled="False" />
                        </th>
                    </tr>
                    <tr>
                        <th colspan="2">
                            <fieldset>
                                <legend>Beneficios</legend>

                                <table width="90%">
                                    <tr>
                                        <td align="left" width="150px">
                                            Cuenta:
                                        </td>
                                        <td align="left">
                                            <dx:ASPxTextBox ID="txtCuentaBenificiario" runat="server" Width="90%" 
                                                ClientEnabled="False" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left">
                                            Nombre:
                                        </td>
                                        <td align="left">
                                            <dx:ASPxTextBox ID="txtNombre" runat="server" Width="90%" 
                                                ClientEnabled="False" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left">
                                            Direcci&oacute;n:
                                        </td>
                                        <td align="left">
                                            <dx:ASPxTextBox ID="txtDireccion" runat="server" Width="90%" 
                                                ClientEnabled="False" />
                                        </td>
                                    </tr>
                                </table>
                            </fieldset>
                        </th>
                    </tr>
                    <tr>
                        <th>
                            Tipo Cargo:
                        </th>
                        <th>
                            <dx:ASPxComboBox ID="cboTipoCargo" runat="server" ClientEnabled="False" />
                        </th>
                    </tr>
                    <tr>
                        <th>
                            Detalle de Pago:
                        </th>
                        <th>
                            <dx:ASPxMemo ID="txtDetallePago" runat="server" Height="80px" Width="400px" 
                                ClientEnabled="False" />
                        </th>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <table>
                                <tr>
                                    <td>
                                        <dx:ASPxButton ID="btnRegularizar" runat="server" Text="REGULARIZAR" 
                                            Width="250px" onclick="btnRegularizar_Click" 
                                            CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css" 
                                            CssPostfix="Office2003Blue" 
                                            SpriteCssFilePath="~/App_Themes/Office2003Blue/{0}/sprite.css" />
                                    </td>
                                    <td>
                                        <dx:ASPxButton ID="btnAlertas" runat="server" Text="ALERTAS" Width="250px" 
                                            onclick="btnAlertas_Click" 
                                            CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css" 
                                            CssPostfix="Office2003Blue" 
                                            SpriteCssFilePath="~/App_Themes/Office2003Blue/{0}/sprite.css" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>

            </fieldset>
        </td>
    </tr>
    <tr>
        <td>
            <dx:ASPxButton ID="btnCancelarOFAC" runat="server" Text="CANCELAR" 
                Width="150px" CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css" 
                CssPostfix="Office2003Blue" 
                SpriteCssFilePath="~/App_Themes/Office2003Blue/{0}/sprite.css" />
        </td>
    </tr>
</table>
<dx:ASPxPopupControl ID="popupOK" runat="server" ClientInstanceName="popupOK" 
            Width="300px" Modal="True" 
            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
            CssPostfix="Office2010Blue" EnableHotTrack="False" 
            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    AllowDragging="True" CloseAction="CloseButton" 
                    PopupHorizontalAlign="WindowCenter" 
    PopupVerticalAlign="WindowCenter" HeaderText="Mensaje" 
    ShowPageScrollbarWhenModal="True">
            <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
            </LoadingPanelImage>
            <HeaderStyle>
            <Paddings PaddingLeft="7px" />
            </HeaderStyle>
            <LoadingPanelStyle ImageSpacing="5px">
            </LoadingPanelStyle>
            <ContentCollection>
<dx:PopupControlContentControl runat="server" SupportsDisabledAttribute="True">
    <dx:ASPxPanel ID="ASPxPanel2" runat="server" Width="300px">
        <PanelCollection>
            <dx:PanelContent runat="server" SupportsDisabledAttribute="True">
            <table align="center">
            <tr>
            
            <td colspan="2" align="center">
                <dx:ASPxLabel ID="lblmensOk" runat="server">
                </dx:ASPxLabel>
                </td>
            </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
            <tr>
            <td></td>
            <td align="center">
                <dx:ASPxButton ID="btnAceptarOk" runat="server" Text="Aceptar" Width="100px" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    CausesValidation="False">
                    <ClientSideEvents Click="function(s, e) {
	popupOK.Hide();
}" />
                </dx:ASPxButton>
                </td>
            </tr>
            </table>
            </dx:PanelContent>
        </PanelCollection>
    </dx:ASPxPanel>
                </dx:PopupControlContentControl>
</ContentCollection>
        </dx:ASPxPopupControl>
<p>
    &nbsp;</p>

        <dx:ASPxPopupControl ID="popupConfirmacionT" runat="server" 
            ClientInstanceName="popupConfirmacionT" Width="300px" 
            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
            CssPostfix="Office2010Blue" EnableHotTrack="False" 
            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    AllowDragging="True" PopupHorizontalAlign="WindowCenter" 
                    PopupVerticalAlign="WindowCenter" 
        ShowPageScrollbarWhenModal="True">
            <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
            </LoadingPanelImage>
            <HeaderStyle>
            <Paddings PaddingLeft="7px" />
            </HeaderStyle>
            <LoadingPanelStyle ImageSpacing="5px">
            </LoadingPanelStyle>
            <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl2" runat="server" 
                    SupportsDisabledAttribute="True">
    <dx:ASPxPanel ID="ASPxPanel3" runat="server" Width="300px">
        <PanelCollection>
            <dx:PanelContent ID="PanelContent2" runat="server" 
                SupportsDisabledAttribute="True">
             <table align="center" width="100%">
            <tr>
            <td colspan="2" align="center">
                <dx:ASPxLabel ID="lblConfirmar" runat="server">
                </dx:ASPxLabel>
                <br />
                </td>
          
            </tr>
                 <tr>
                     <td>
                         &nbsp;</td>
                     <td>
                         &nbsp;</td>
                 </tr>
            <tr>
            <td>
                <dx:ASPxButton ID="btnAceptar" runat="server" Text="Aceptar" Width="100px" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    CausesValidation="False" OnClick="btnAceptar_Click">
                    <ClientSideEvents Click="function(s, e) {
	popupConfirmacionT.Hide();
}" />
                </dx:ASPxButton>
                </td>
            <td>
                <dx:ASPxButton ID="ASPxButton1" runat="server" Text="Cancelar" Width="100px" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    CausesValidation="False">
                    <ClientSideEvents Click="function(s, e) {
	popupConfirmacionT.Hide();
}" />
                </dx:ASPxButton>
                </td>
            </tr>
                 <tr>
                     <td>
                         &nbsp;</td>
                     <td>
                         &nbsp;</td>
                 </tr>
            </table>
            </dx:PanelContent>
        </PanelCollection>
    </dx:ASPxPanel>
                </dx:PopupControlContentControl>
</ContentCollection>
        </dx:ASPxPopupControl>
